import request from '@/utils/request'


//通知列表
export function getNoticeListApi(params) {
    return request({
      url: 'v1/techProduct/list',
      method: 'get',
      params
    })
}

// 新建通知
export function addNoticeApi(data) {
    return request({
      url: 'v1/techProduct',
      method: 'post',
      data
    })
}

// 修改通知
export function updataNoticeApi(data) {
  return request({
    url: 'v1/techProduct',
    method: 'put',
    data
  })
}

// 删除通知列表
export function removeNoticeApi(ids) {
  return request({
    url: `v1/techProduct/${ids}`,
    method: 'delete',
  })
}
